package com.crm.service;

import com.crm.domain.DataGridView;
import com.crm.pojo.Service;
import com.crm.vo.ServiceVo;

import java.util.Date;

public interface ServiceMangerService {
    /**
     * 用户全查询（带分页功能）
     * @param serviceVo
     * @return
     */
    public DataGridView getServiceListByPage(ServiceVo serviceVo);
    /**
     * 增加用户
     * @param service
     */
    public boolean addService(Service service);
    /**
     * 删除用户
     * @param id
     */
    public void removeService(Integer id);
    /**
     * 批量删除
     * @param ids
     */
    public void removeBatchService(Integer[] ids);

    public boolean addAssagn(int id, String assignee, Date distributeTime);

    public boolean addDeal(int id,String serviceDeal,String conductor,Date dealTime);

    public boolean addResponse(int id, String dealResrult,String satisfaction);
}
